package com.tanguy.user.ui.trip.choice.adapter

import android.view.View
import android.widget.TextView
import com.tanguy.user.R
import com.tanguy.user.base.JustAdapter
import org.jetbrains.anko.find

/**
 * Created by dab on 2017/10/30 0030 10:17
 * 显示航班的adapter
 */
class FlightAdapter(data: ArrayList<String>) : JustAdapter<String>(data, R.layout.item_flight) {
    override fun bind(itemView: View, data: String, position: Int) {
        itemView.apply {
            find<TextView>(R.id.tv_title).text = data
        }
    }


}